From 0478b7515723c552c42a5549e514a4c4222636d8 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Sun, 13 Aug 2006 17:17:28 +0000 Subject: [PATCH] Check (tri-)state usage of zlib and use the right header file. --- gpsbabel/defs.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gpsbabel/defs.h b/gpsbabel/defs.h index 736e21d14..7b0d04c1b 100644 --- a/gpsbabel/defs.h +++ b/gpsbabel/defs.h @@ -28,7 +28,11 @@ #include "config.h" #include "queue.h" #include "gbtypes.h" +#if HAVE_LIBZ +#include +#elif !ZLIB_INHIBITED #include "zlib/zlib.h" +#endif #include "gbfile.h" #include "cet.h" #include "cet_util.h" -- 2.30.2